<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>3.4- Linux Benchmarks</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="Boost.Sort">
<link rel="up" href="../parallel.html" title="3.- Parallel Algorithms">
<link rel="prev" href="parallel_stable_sort/parallel_programming.html" title="Programming">
<link rel="next" href="windows_parallel.html" title="3.5- Windows Benchmark">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="parallel_stable_sort/parallel_programming.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../parallel.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="windows_parallel.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="sort.parallel.linux_parallel"></a><a class="link" href="linux_parallel.html" title="3.4- Linux Benchmarks">3.4- Linux Benchmarks</a>
</h3></div></div></div>
<div class="blockquote"><blockquote class="blockquote">
<p>
          The following results are from complex benchmarks, not include in the library
          because they use non free software. (If you are interested in them, contact
          fjtapia@gmail.com)
        </p>
<p>
          There are 3 types of benchmarks,
        </p>
<div class="blockquote"><blockquote class="blockquote">
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem">
                64 bits integers
              </li>
<li class="listitem">
                strings
              </li>
<li class="listitem">
                objects of several sizes.
              </li>
</ul></div>
<p>
            The objects are arrays of integers. The heavy comparison sums all the
            elements in each, and the light comparison uses only the first number
            in the array.
          </p>
<p>
            These were run on an Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz, with 6
            cores and 2 threads by core, and 15M of cache. The compiler used was
            a GCC 6.3 64 bits
          </p>
</blockquote></div>
<h5>
<a name="sort.parallel.linux_parallel.h0"></a>
          <span class="phrase"><a name="sort.parallel.linux_parallel.100_000_000_numbers_of_64_bits_r"></a></span><a class="link" href="linux_parallel.html#sort.parallel.linux_parallel.100_000_000_numbers_of_64_bits_r"><span class="underline">100 000 000 NUMBERS OF 64 BITS RANDOMLY FILLED</span></a>
        </h5>
<p>
          <span class="bold"><strong>
<pre class="programlisting">                         |         |             |
                         |  Time   |   Maximum   |
                         |  secs   | Memory Used |
-------------------------+---------+-------------+
OMP parallel sort        | 1.1990  |   1564 MB   |
TBB parallel_sort        | 1.6411  |    789 MB   |
block_indirect_sort      | 0.9270  |    790 MB   |
                         |         |             |
OMP parallel stable sort | 1.5814  |   1972 MB   |
TBB parallel stable sort | 1.1745  |   1570 MB   |
sample sort              | 1.2872  |   1566 MB   |
parallel stable sort     | 1.7158  |   1176 MB   |
                         |         |             |
</pre>
          </strong></span>
        </p>
<h5>
<a name="sort.parallel.linux_parallel.h1"></a>
          <span class="phrase"><a name="sort.parallel.linux_parallel.10_000_000_strings_randomly_fill"></a></span><a class="link" href="linux_parallel.html#sort.parallel.linux_parallel.10_000_000_strings_randomly_fill"><span class="underline">10 000 000 STRINGS RANDOMLY FILLED</span></a>
        </h5>
<p>
          <span class="bold"><strong>
<pre class="programlisting">                         |         |             |
                         |  Time   |   Maximum   |
                         |  secs   | Memory Used |
-------------------------+---------+-------------+
OMP parallel sort        | 1.5738  |   2023 MB   |
TBB parallel_sort        | 1.8626  |    826 MB   |
block_indirect_sort      | 1.2411  |    825 MB   |
                         |         |             |
OMP parallel stable sort | 2.3214  |   2024 MB   |
TBB parallel stable sort | 1.4383  |   1143 MB   |
sample sort              | 1.5097  |   1135 MB   |
parallel stable sort     | 2.0970  |    978 MB   |
                         |         |             |
</pre>
          </strong></span>
        </p>
<h5>
<a name="sort.parallel.linux_parallel.h2"></a>
          <span class="phrase"><a name="sort.parallel.linux_parallel.objects_randomly_filled"></a></span><a class="link" href="linux_parallel.html#sort.parallel.linux_parallel.objects_randomly_filled"><span class="underline">OBJECTS RANDOMLY FILLED</span></a>
        </h5>
<div class="blockquote"><blockquote class="blockquote">
<p>
            The objects are arrays of 64 bits numbers
          </p>
<p>
            They are compared in two ways :
          </p>
<div class="blockquote"><blockquote class="blockquote">
<p>
              (H) Heavy : The comparison is the sum of all the numbers of the array.
            </p>
<p>
              (L) Light : The comparison is using only the first element of the array,
              as a key
            </p>
</blockquote></div>
</blockquote></div>
<p>
          <span class="bold"><strong>
<pre class="programlisting">                    |           |           |           |           |           |           |             |
                    | 100000000 |  50000000 |  25000000 |  12500000 |   6250000 |   1562500 |             |
                    | objects of| objects of|objects of |objects of |objects of |objects of |  Maximum    |
                    |  8 bytes  | 16 bytes  | 32 bytes  | 64 bytes  | 128 bytes | 512 bytes |  Memory     |
                    |           |           |           |           |           |           |  Used       |
                    |  H     L  |  H     L  |  H     L  |  H     L  |  H     L  |  H     L  |             |
--------------------+-----------+-----------+-----------+-----------+-----------+-----------+-------------+
OMP parallel sort   | 1.18  1.17| 0.73  0.66| 0.51  0.45| 0.43  0.39| 0.41  0.37| 0.37  0.32|   1569 MB   |
TBB parallel_sort   | 1.71  1.59| 0.85  0.81| 0.56  0.54| 0.51  0.42| 0.45  0.39| 0.36  0.32|    788 MB   |
block_indirect_sort | 1.11  1.08| 0.66  0.63| 0.49  0.46| 0.43  0.39| 0.40  0.37| 0.37  0.33|    794 MB   |
                    |           |           |           |           |           |           |             |
OMP par stable sort | 1.55  1.55| 1.38  1.35| 1.23  1.22| 1.17  1.17| 1.09  1.08| 0.97  0.97|   1980 MB   |
TBB par stable sort | 1.23  1.23| 0.89  0.85| 0.74  0.72| 0.71  0.69| 0.69  0.69| 0.68  0.68|   1573 MB   |
                    |           |           |           |           |           |           |             |
sample sort         | 1.32  1.32| 0.84  0.78| 0.66  0.63| 0.63  0.62| 0.62  0.61| 0.60  0.60|   1568 MB   |
parallel stable sort| 1.80  1.90| 1.17  1.07| 0.83  0.75| 0.76  0.71| 0.72  0.70| 0.70  0.69|   1177 MB   |
                    |           |           |           |           |           |           |             |
</pre>
          </strong></span>
        </p>
</blockquote></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2014-2017 Steven
      Ross, Francisco Tapia, Orson Peters<p>
        Distributed under the <a href="http://boost.org/LICENSE_1_0.txt" target="_top">Boost
        Software License, Version 1.0</a>.
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="parallel_stable_sort/parallel_programming.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../parallel.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="windows_parallel.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
